﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/MasterPage1.master" AutoEventWireup="true" CodeFile="KHTT_XemThongTinDonDatHang.aspx.cs" Inherits="ChucNang_KhachHangThanThiet_KHTT_XemThongTinDonDatHang" Title="Untitled Page" %>

<%@ Register src="../../UserControls/PageInterface.ascx" tagname="PageInterface" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <center>
    <h2>DANH SÁCH ĐƠN HÀNG</h2> 
    <table><tr><td>
       Sắp xếp theo: <asp:DropDownList ID="ddlSapXep" runat="server" 
            AutoPostBack="True" onselectedindexchanged="ddlSapXep_SelectedIndexChanged">
            <asp:ListItem Value="1">Thời gian đặt hàng</asp:ListItem>
            <asp:ListItem Value="2">Trạng Thái</asp:ListItem>
        </asp:DropDownList>
    </td></tr></table>    
    <asp:DataList ID="DataList_DanhSachSanPham" runat="server" 
        RepeatColumns="1" RepeatDirection="Horizontal" CellPadding="5" CellSpacing="5" onitemcreated="DataList_DanhSachSanPham_ItemCreated" 
            >
        <EditItemStyle BorderColor="Red" BorderStyle="Dotted" BorderWidth="1px" />
        <ItemStyle BorderColor="Red" BorderStyle="Dotted" BorderWidth="1px" />
        <ItemTemplate>
            <table width="400">
                <tr><td>Thời gian đặt hàng:</td>
                <td><asp:Label ID="lblThoiGianDatHang" runat="server" Text="Label"></asp:Label></td></tr>
                
                <tr><td>Thời gian giao hàng:</td>
                <td><asp:Label ID="lblThoiGianGiaoHang" runat="server" Text="Label"></asp:Label></td></tr>
                <tr><td>Tổng tiền:</td>
                <td><asp:Label ID="lblTongTien" runat="server" Text="Label"></asp:Label></td></tr>
                <tr><td>Trạng Thái:</td>
                <td><asp:Label ID="lblTrangThai" runat="server" Text="Label"></asp:Label></td></tr>
                <tr>
                    <td>
                        <asp:Label ID="lblHuy" runat="server" Text="Label"></asp:Label></td>
                </tr>
                 <tr>
                    <td colspan='2'>
                        <asp:HyperLink ID="hpXemChiTiet" runat="server" NavigateUrl='<%# Eval("Id","KHTT_XemChiTietDonHang.aspx?Id={0}") %>' >Xem Chi Tiết</asp:HyperLink></td>
                </tr>
            </table>
            
        </ItemTemplate>
    </asp:DataList>
    <table>
    <tr>
    <td>
        <asp:Button ID="btnHuy" runat="server" Text="Hủy" onclick="btnHuy_Click" 
            Width="42px" /></td>
    <td><asp:Button ID="btnXoa" runat="server" Text="Xóa"
            Width="42px" onclick="btnXoa_Click" /></td>
    </tr>
    </table>
    <uc1:PageInterface ID="PageInterface1" runat="server" />
     </center>
</asp:Content>

